#!/bin/bash

# Make sure the scripts are executable
chmod +x ./stop.sh
chmod +x ./start.sh

echo "Restarting the application..."
echo ""

# Execute stop script
./stop.sh
echo ""
echo "Waiting for 2 seconds before starting again..."
sleep 2
echo ""

# Execute start script
./start.sh

echo ""
echo "Restart sequence completed."
